package com.xy.p2p.service;

import java.util.List;
import java.util.Map;
import com.xy.core.service.BaseService;
import com.xy.common.page.Pagination;

import com.xy.p2p.model.Tmember;
import com.xy.p2p.model.Tmemberassetaccountdetails;

public abstract interface TmemberassetaccountdetailsService extends BaseService<Tmemberassetaccountdetails>
{
	//充值方向 -1：借（出金），1：贷（入金）
		public static final int TMEMBERASSETACCOUNTDETAIL_BORROWING=0;
		//交易类型1:充值,其他见数据字典
		public static final int TMEMBERASSETACCOUNTDETAIL_TRANTYPE=1;
		
	public abstract boolean checkExist(String paraName,String paraValue);
   public abstract List<Tmemberassetaccountdetails> getTmemberassetaccountdetails(Map<String, Object> map);
	public abstract Pagination getTmemberassetaccountdetailsByPage(Map<String, Object> map, int pageNo,
			int pageSize);
	public List<Tmemberassetaccountdetails> getUnPayRechargeList(Tmember tmember);
	/**
	 * 获取未交充值手续费的金额(类型为充值,备注为空的记录)
	 * @param tmember 用户
	 * @return  待交充值手续费总金额
	 */
   public abstract double getUnPayRechargeFee(Tmember tmember);
}